layui.use(['form', 'admin', 'ax', 'upload'], function () {
    var $ = layui.jquery;
    var $ax = layui.ax;
    var form = layui.form;
    var upload = layui.upload;

    //获取详情信息，填充表单
    var ajax = new $ax(Feng.ctxPath + "/leaveInfo/detail?leaveInfoId=" + Feng.getUrlParam("leaveInfoId"));
    var result = ajax.start();
    form.val('positionForm', result.data);
});